package com.fourforfo.fourmall.ware.feign;

import com.fourforfo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @program: xxl-sso-core
 * @description: 订单服务远程调用接口
 * @author: fourforfo
 * @email: fourforfo@gmail.com
 * @create: 2022-09-11 13:26
 **/
@FeignClient("fourmall-order")
public interface OrderFeignService {


    @ResponseBody
    @GetMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);

}
